// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import api from './common/api'
import MintUI from 'mint-ui'
import 'mint-ui/lib/button/style.css'
import store from './vuex/store'
Vue.prototype.$api = api
Vue.use(MintUI)
Vue.config.productionTip = false

/* eslint-disable no-new */
// new Vue({
//   el: '#app',
//   router,
//   components: { App },
//   template: '<App/>'
// })
new Vue({
  router,
  store,
  el: '#app',
  render: (h) => h(App)
})
